package cn.service.leave;

import cn.entity.Employee;
import cn.entity.Leave;

import java.util.Date;
import java.util.List;

public interface LeaveBiz {
    public void saveOrUpdate(Leave leave);
    public List<Leave> findBySnAndPage( Employee employee,  int indexPage,  int pageSize,  Date startDate,  Date endDate);
    public long findCountBySn( Employee employee,  Date startDate,  Date endDate);
    public Leave findById(Long id);
}
